package NovelBar.entity;

public class Reward {
    private Integer id;
    private Integer bookId;
    private Integer userId;
    private Integer giftCount;
    private String giftName;
    private String date;
    private Integer witerId;
    public Reward () {}

    public Reward(Integer id, Integer bookId, Integer userId, Integer giftCount, String giftName, String date, Integer witerId) {
        this.id = id;
        this.bookId = bookId;
        this.userId = userId;
        this.giftCount = giftCount;
        this.giftName = giftName;
        this.date = date;
        this.witerId = witerId;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getBookId() {
        return bookId;
    }

    public void setBookId(Integer bookId) {
        this.bookId = bookId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getGiftCount() {
        return giftCount;
    }

    public void setGiftCount(Integer giftCount) {
        this.giftCount = giftCount;
    }

    public String getGiftName() {
        return giftName;
    }

    public void setGiftName(String giftName) {
        this.giftName = giftName;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public Integer getWiterId() {
        return witerId;
    }

    public void setWiterId(Integer witerId) {
        this.witerId = witerId;
    }
}
